$(function () {
    // 估价单列表收起显示
    var current = 0;
    var img = document.querySelector('.content-list-img')
    img.onclick = function () {
        current = (current + 180) % 360;
        this.style.transform = `rotate(${current}deg)`;
        $('.price-table').toggle()
    }
//    菜单
    $('.img-menu').click(function(){
    if($('.content').hasClass('darkgrey')){
        $('.content').removeClass('darkgrey')
    }
    else{
        $('.content').addClass('darkgrey')
    }
    $('.top-menu').toggle()
       
    })

})